package com.lorenum.rss.reader;

import java.util.ArrayList;

public class Feed {
	private String title;
	private String link;
	private String description;
	private String pubDate;
	private ArrayList<FeedEntry> entries = new ArrayList<FeedEntry>();
	
	
	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public String getLink() {
		return link;
	}


	public void setLink(String link) {
		this.link = link;
	}


	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}


	public String getPubDate() {
		return pubDate;
	}


	public void setPubDate(String pubDate) {
		this.pubDate = pubDate;
	}


	public ArrayList<FeedEntry> getEntries() {
		return entries;
	}


	public void setEntries(ArrayList<FeedEntry> entries) {
		this.entries = entries;
	}

	public void addEntry(FeedEntry entry){
		this.entries.add(entry);
	}

	@Override
	public String toString() {
		return "Feed [description=" + description + ", link=" + link + ", pubDate=" + pubDate + ", title=" + title + "]";
	}

}
